var gulp = require('gulp'),

    P = require('./config.js').pathes

module.exports = {
    start: function () {
        gulp.task('watch', function () {
            gulp.watch(P.src + '/**/*.html', ['includeHtml'])

            gulp.watch(P.src + '/**/*.scss', ['sass'])

            gulp.watch([P.src + '/common/*.js', P.src + '/modules/**/*.js', P.vendor + '/*'], ['concatJs'])

            gulp.watch(P.src + '/js/*.js', ['copy:js'])
            
            gulp.watch(P.resources + '/**/*', ['copy:img'])
        })
    }
}